package lq.auth.studyauth;

import lq.common.annotation.EnableStudyLettuceRedis;
import lq.common.annotation.StudyCloudApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @EnableStudyAuthExceptionHandler 采用模块驱动的方式驱动加载的异常处理类
 */
@EnableDiscoveryClient// 用于开启服务注册与发现功能
@SpringBootApplication
//@EnableStudyAuthExceptionHandler
//@EnableStudyServerProtect
@StudyCloudApplication
@MapperScan("lq.auth.studyauth.mapper")
// lettucey验证码开启
@EnableStudyLettuceRedis
public class StudyAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudyAuthApplication.class, args);
    }

}
